//
//  Graph.hpp
//  algorithm
//
//  Created by 张俊正（总行零售网金） on 2020/5/18.
//  Copyright © 2020 sunshinfight. All rights reserved.
//

#ifndef Graph_hpp
#define Graph_hpp

#include <stdio.h>
#include <vector>

namespace zjxal {
using namespace std;

template<typename T>
union Adjacency {
    T weight;
    void *others;
};

template<typename T, typename ajacencyType>
class Graph {
private:
    vector<T> vertexes;
    vector<vector<Adjacency<ajacencyType>>> adjacencyMatrix;
    
    
public:
    void addVertexs();
};

}

#endif /* Graph_hpp */
